        <style>
        .file_bg{width:100px; height:auto; overflow:hidden; position:relative; margin:auto; float:left;}
        .file_bg input[type="button"]{ width:100px; height:36px; border-radius:0 4px 4px 0; border:#00B7EE solid 1px; text-align:center; font-size:13px; color:#fff; background:#00B7EE;}
        .file_bg input[type="file"]{width:100px; height:36px; position:absolute; z-index:1; top:0; left:0; opacity:0;}
        .value_name{ width:240px; height:34px; border:#eee solid 1px; border-radius:4px 0 0 4px; margin:auto; padding-left:10px; color:#666; font-size:13px; margin-bottom:20px; float:left;}
        .value_name2{ width:240px; height:34px; border:#eee solid 1px; border-radius:4px 0 0 4px; margin:auto; padding-left:10px; color:#666; font-size:13px; margin-bottom:20px; float:left;}
        .files_bg{ width:auto; height:auto; padding: 20px; border-radius:4px;  text-align:center; margin:auto; overflow:hidden;}
        .upload_btn{    background: none repeat scroll 0 0 #00B7EE; border:#00B7EE solid 1px;border-radius: 3px; color: #fff; cursor: pointer;font-size: 14px; margin-left: 10px; width:100px; height:36px; float:left}
        .upload_btn2{    background: none repeat scroll 0 0 #00B7EE; border:#00B7EE solid 1px;border-radius: 3px; color: #fff; cursor: pointer;font-size: 14px; margin-left: 10px; width:100px; height:36px; float:left}
    </style>

        <form action="{:U('Arrangement/arrange')}" method="post" enctype="multipart/form-data" style="margin-bottom:50px">
                <div class="files_bg">
                <input type="text" class="value_name" value="暂未选择文件" readonly="readonly">
                <div class="file_bg">
                    <input type="button" value="请选择文件"><input id="import" type="file" name="import">
                </div>
                <input class="upload_btn" type="submit" value="一键整理">
                </div>
        </form>
<!--        <div>删除已录入不对称信息</div>
        <form action="{:U('Arrangement/delInfo')}" method="post" enctype="multipart/form-data">
                <div class="files_bg">
                <input type="text" class="value_name2" value="暂未选择文件" readonly="readonly">
                <div class="file_bg">
                    <input type="button" value="请选择文件"><input id="del" type="file" name="del">
                </div>
                <input class="upload_btn2" type="submit" value="一键整理">
                </div>
        </form>-->
        <div style="position: fixed;right: 30px;bottom:20px;"><a href="{:U('index/download?type=arrange')}">下载样本文件</a></div>
         <!--模态框开始-->
          <div class="modal fade" tabindex="-1" role="dialog" id="myModal">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
              <h4 class="modal-title">错误提示!</h4>
            </div>
              <div class="modal-body" id="content">

            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>   
            </div>
          </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
      </div><!-- /.modal -->
      <!--模态框结束-->
      
    <script>
        $(function(){
             $('#import').change(function(){
                        $('.value_name').val($('input[type="file"]').val())
                        if($(this).val()==''){
                                $('.value_name').val('暂未选择文件')
                                }
                        })
                $('.upload_btn').click(function(){
                        if($('#import').val()==''){
                                $('#content').html('<p>请选择arrange.zip文件!</p>'); 
                                 $('#myModal').modal('show');
                                return false;	
                        }
                        })
                        
                        $('#del').change(function(){
                        $('.value_name2').val($(this).val())
                        if($(this).val()==''){
                                $('.value_name2').val('暂未选择文件')
                                }
                        })
                $('.upload_btn2').click(function(){
                        if($('#del').val()==''){
                                $('#content').html('<p>请选择info.xlsx文件!</p>'); 
                                 $('#myModal').modal('show');
                                return false;	
                        }
                        })
        })
    </script>

